package com.three.box.network.kt

import com.alibaba.fastjson2.JSONObject
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.POST
import retrofit2.http.Path

/**
 * 宇视api请求
 */
interface UniviewApiService {
    @POST("LAPI/V1.0/PACS/Controller/HeartReportInfo")
    fun heartbeat(@Body body: JSONObject): Call<String>

    @POST("/LAPI/V1.0/PeopleLibraries/{id}/People")
    fun addPersonInfo(@Path("id") personId: Long, @Body body: JSONObject): Call<String>
}